home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-ARM / SETUP.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  50 lines

  1. /*
  2.  * include/asm/setup.h
  3.  *
  4.  * Structure passed to kernel to tell it about the hardware it's running on
  5.  *
  6.  * Copyright (C) 1997,1998 Russell King
  7.  */
  8. #ifndef __ASMARM_SETUP_H
  9. #define __ASMARM_SETUP_H
  10.  
  11. struct param_struct {
  12.     union {
  13.     struct {
  14.         unsigned long page_size;        /*  0 */
  15.         unsigned long nr_pages;        /*  4 */
  16.         unsigned long ramdisk_size;        /*  8 */
  17.         unsigned long flags;        /* 12 */
  18. #define FLAG_READONLY    1
  19. #define FLAG_RDLOAD    4
  20. #define FLAG_RDPROMPT    8
  21.         unsigned long rootdev;        /* 16 */
  22.         unsigned long video_num_cols;    /* 20 */
  23.         unsigned long video_num_rows;    /* 24 */
  24.         unsigned long video_x;        /* 28 */
  25.         unsigned long video_y;        /* 32 */
  26.         unsigned long memc_control_reg;    /* 36 */
  27.         unsigned char sounddefault;        /* 40 */
  28.         unsigned char adfsdrives;        /* 41 */
  29.         unsigned char bytes_per_char_h;    /* 42 */
  30.         unsigned char bytes_per_char_v;    /* 43 */
  31.         unsigned long pages_in_bank[4];    /* 44 */
  32.         unsigned long pages_in_vram;    /* 60 */
  33.         unsigned long initrd_start;        /* 64 */
  34.         unsigned long initrd_size;        /* 68 */
  35.         unsigned long rd_start;        /* 72 */
  36.     } s;
  37.     char unused[256];
  38.     } u1;
  39.     union {
  40.     char paths[8][128];
  41.     struct {
  42.         unsigned long magic;
  43.         char n[1024 - sizeof(unsigned long)];
  44.     } s;
  45.     } u2;
  46.     char commandline[256];
  47. };
  48.  
  49. #endif
  50.